<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>头像管理</title>
<%@include file="/WEB-INF/base.jspf"%>
</head>
<body style="background: #f2f2f2;">
	<div class="col-xs-12 col-sm-4 col-sm-offset-4 text-center bg-primary"
		style="height: 50px; line-height: 50px; position: fixed; margin-top: 0px; left: 0px; z-index: 100;">
		<a onclick="back()" class="glyphicon glyphicon-chevron-left fl"
			style="color: white; margin-top: 13px; font-size: 20px;"></a> <strong
			style="font-size: 20px;">头像管理</strong>
	</div>
	<div class="col-xs-12 col-sm-4 col-sm-offset-4 text-center"
		style="margin-top: 70px;">
		<form action="/u/changeA1.do" method="post" enctype="multipart/form-data">
			<div>
				<strong style="color: red; font-size: 12px;">选择作为头像的图片</strong><br>
				<div class="input-group">
					<span class="input-group-addon">头像</span> <input
						class="form-control" name="file" type="file" style="padding: 4px;" />
				</div>
				<br>
				<img src="${user.avatar }"
					style="border: 2px solid red; width: 50%; height: 50%;">
			</div>
			<br> <input class="btn btn-primary" style="width: 90%;"
				type="submit" value="确认修改" /><br>
			<br>
		</form>
	</div>
</body>
</html>